/* 年级信息容器 */
.grade-info-container {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 标题样式 */
.grade-info-title {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.grade-info-title h3 {
    font-size: 30px;
    color: #333;
    font-weight: 600;
    margin: 0;
    position: relative;
    text-align: center;
    text-shadow: 4px 4px 3px rgba(0, 0, 0, 0.21);
}

/* 表格样式 */
.table {
    margin-bottom: 0;
}

.table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    color: #495057;
    font-weight: 600;
}

.table td {
    vertical-align: middle;
}

/* 年级届次编辑相关样式 */
.grade-year-container {
    position: relative;
    display: inline-block;
}

.grade-year {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 100px;
}

.grade-year:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.edit-icon {
    opacity: 0.5;
    transition: opacity 0.3s;
    margin-left: 8px;
    color: #007bff;
    cursor: pointer;
}

.grade-year-container:hover .edit-icon {
    opacity: 1;
}

.edit-controls {
    margin-top: 10px;
    display: none;
}

.grade-year-input {
    width: 200px;
    margin-bottom: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 6px 12px;
    transition: border-color 0.3s;
}

.grade-year-input:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 按钮组样式 */
.btn-group {
    margin-left: 0;
}

.btn-group .btn {
    padding: 4px 12px;
    font-size: 14px;
}

.btn-group .btn i {
    margin-right: 4px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .grade-year-input {
        width: 100%;
    }
    
    .grade-info-container {
        padding: 10px;
    }
}